package com.example.service

import com.example.entity.User
import com.example.mapper.UserMapper
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service

/**
 * @Author:0xOO
 * @Date: 2018/9/26 0026
 * @Time: 15:23
 */
@Service
class UserService {
    @Autowired
    var userMapper: UserMapper? = null
    fun Sel(id: Int): User? {
        return userMapper!!.Sel(id)
    }
}